package com.littcore.saap.assistant.service;

import java.util.List;

import com.littcore.dao.page.IPageList;
import com.littcore.dao.ql.PageParam;
import com.littcore.saap.assistant.po.UserFavourite;

public interface IUserFavouriteService {
  
  public UserFavourite findUnique(String moduleCode,int recordId,int createBy,int tenantId);
  
  /**
   * 根据业务记录查找所有关注人.
   *
   * @param moduleCode the module code
   * @param recordId the record id
   * @param tenantId the tenant id
   * @return the list
   */
  public List<UserFavourite> findByRecord(String moduleCode,int recordId, int tenantId);
  
	public IPageList listPage(PageParam pageParam);
}
